using Microsoft.AspNetCore.Mvc;
using StudentVideo.Data;

namespace StudentVideo.Controllers;


[Route("api/[controller]/[action]")]
public class VideoController(AppDbContext context): Controller {
   private readonly AppDbContext _context = context;

   /// <summary>
   /// 添加
   /// </summary>
   /// <returns></returns>
   [HttpPost]
   public void Add() { }

   /// <summary>
   /// 删除
   /// </summary>
   /// <returns></returns>
   [HttpPost]
   public void Del() { }

   /// <summary>
   /// 修改
   /// </summary>
   [HttpPost]
   public void Edit() { }

}
